package cn.com.greatwall.system.modules.system.service.dto.criteria;

import java.sql.Timestamp;
import java.util.List;

import cn.com.greatwall.common.annotation.DataPermission;
import cn.com.greatwall.common.annotation.Query;
import lombok.Data;

/** 
* @Author herw
* @Time 2020-07-01 9:31:38 PM 
* @Version 1.0
* @Description: 公共查询类
*/
@Data
@DataPermission(fieldName = "id")
public class DeptQueryCriteria {
    @Query(type = Query.Type.INNER_LIKE)
    private String name;
    
    @Query
    private Boolean enabled;
    
    @Query
    private Long pid;
    
    @Query(type = Query.Type.IS_NULL, propName = "pid")
    private Boolean pidIsNull;
    
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;
}
